package com.zdy.zdycouponview;

import android.graphics.Typeface;
import android.os.Bundle;
import android.support.v7.app.AppCompatActivity;
import android.widget.TextView;

public class MainActivity extends AppCompatActivity {

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_main);
        Typeface fontFace = Typeface.createFromAsset(getAssets(),
                "fonts/Font.ttf");
        TextView tv_off = (TextView) findViewById(R.id.tv_off);
        tv_off.setTypeface(fontFace);
        tv_off.setText("12908 ");
    }
}
